package edu.zqu.collegeField.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import edu.zqu.collegeField.project.mapper.FieldInchargeMapper;
import edu.zqu.collegeField.project.po.FieldIncharge;
import edu.zqu.collegeField.project.vo.FieldInchargeVo;

import java.math.BigInteger;
import java.util.List;

/**
 * <p>
 * 场地负责人 服务类
 * </p>
 *
 * @author 廖森
 * @since 2020-06-28
 */
public interface FieldInchargeService extends IService<FieldIncharge> {
    List<FieldInchargeVo> get(BigInteger collegeId, BigInteger fieldId, BigInteger workerId);//获取场地负责人列表

    FieldInchargeVo getById(BigInteger id);//获取场地负责人

    int add(FieldIncharge fieldIncharge);//添加场地负责人

    int update(FieldIncharge fieldIncharge);//修改场地负责人

    int delete(BigInteger id, BigInteger byWho);//删除场地负责人
}
